/*
 *  Copyright 2005 Blandware (http://www.blandware.com)
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package com.blandware.atleap.webapp.util.forum;

/**
 * <p>Webapp constants for forum module</p>
 * <p><a href="ForumModuleWebConstants.java.html"><i>View source</i></a></p>
 *
 * @author Roman Puchkovskiy <a href="mailto:roman.puchkovskiy@blandware.com">
 *         &lt;roman.puchkovskiy@blandware.com&gt;</a>
 * @version $Revision: 1.4 $ $Date: 2006/10/31 11:55:55 $
 */
public class ForumModuleWebConstants {
	/**
	 * Name of forums grid
	 */
	public static final String FORUMS_GRID = "forumsGrid";

    /**
     * Context key under which forum ID is stored
     */
    public static final String FORUM_ID_KEY = "com.blandware.atleap.FORUM_ID";

    /**
     * Context key under which parent forum ID is stored
     */
    public static final String FORUM_PARENT_ID_KEY = "com.blandware.atleap.FORUM_PARENT_ID";

    /**
     * Context key under which grandparent forum ID is stored
     */
    public static final String FORUM_GRAND_PARENT_ID_KEY = "com.blandware.atleap.FORUM_GRAND_PARENT_ID";

    /**
     * Context key under which collection of content locales is stored when
     * creating a forum
     */
    public static final String FORUM_CONTENT_LOCALES_COLLECTION_KEY = "com.blandware.atleap.FORUM_CONTENT_LOCALES_COLLECTION";
    
    /**
     * Forum uri prefix
     */
    public static final String FORUM_URI_PREFIX = "/rw/forum";

    /**
     * Topic uri prefix
     */
    public static final String TOPIC_URI_PREFIX = "/topic";

    /**
     * Context key under which collection of forum parents is stored
     */
    public static final String FORUM_PARENTS_LIST_KEY = "com.blandware.atleap.FORUM_PARENTS_LIST";

    /**
     * Context key under which parent topic is stored
     */
    public static final String PARENT_TOPIC_KEY = "com.blandware.atleap.PARENT_TOPIC";

    /**
     * Context key under which min position of forums is stored
     */
    public static final String FORUM_MIN_POSITION_KEY = "com.blandware.atleap.FORUM_MIN_POSITION";

    /**
     * Context key under which max position of forums is stored
     */
    public static final String FORUM_MAX_POSITION_KEY = "com.blandware.atleap.FORUM_MAX_POSITION";

    /**
     * Context key under which topic ID is stored
     */
    public static final String TOPIC_ID_KEY = "com.blandware.atleap.TOPIC_ID";

    /**
     * Context key under which post ID is stored
     */
    public static final String POST_ID_KEY = "com.blandware.atleap.POST_ID";

    /**
     * Context key under which subscription topic ID is stored
     */
    public static final String SUBSCRIPTION_TOPIC_ID_KEY = "com.blandware.atleap.SUBSCRIPTION_TOPIC_ID";

    /**
     * Context key under which subscription forum ID is stored
     */
    public static final String SUBSCRIPTION_FORUM_ID_KEY = "com.blandware.atleap.SUBSCRIPTION_FORUM_ID";
}
